package com.oig.auth.api;


import com.oig.auth.api.factory.SystemFallbackFactory;
import com.oig.sys.auth.vo.SystemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(contextId = "systemService", value = "sys-auth-server",path = "/system", fallbackFactory = SystemFallbackFactory.class)
public interface SystemService {

    @PostMapping("/info/{systemId}")
    SystemVo info(@PathVariable("systemId") Integer systemId);


}
